package com.ido.otaclient.two;

/**
 * Copyright (c) 2019 深圳市爱都科技有限公司. All rights reserved.
 *
 * @Author: xyb
 * @CreateDate: 2020-03-06 10:22
 * @description
 */
public class TwoToOneConfig {
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 升级平台
     */
    private String uploadPlatform;
    /**
     * 最新固件名称
     */
    private String firewareNewName;
    /**
     * 最新固件版本
     */
    private String firewareNewVersion;

    /**
     * 新固件的路径
     */
    private String firewareNewPath;
    /**
     * boot 文件名称
     */
    private String bootloaderName;
    /**
     * boot 文件版本
     */
    private String bootloaderVersion;

    /**
     * boot 文件路径
     */
    private String bootloaderPath;
    /**
     * 设备id
     */
    private String deviceId;

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getUploadPlatform() {
        return uploadPlatform;
    }

    public void setUploadPlatform(String uploadPlatform) {
        this.uploadPlatform = uploadPlatform;
    }

    public String getFirewareNewName() {
        return firewareNewName;
    }

    public void setFirewareNewName(String firewareNewName) {
        this.firewareNewName = firewareNewName;
    }

    public String getFirewareNewVersion() {
        return firewareNewVersion;
    }

    public void setFirewareNewVersion(String firewareNewVersion) {
        this.firewareNewVersion = firewareNewVersion;
    }

    public String getFirewareNewPath() {
        return firewareNewPath;
    }

    public void setFirewareNewPath(String firewareNewPath) {
        this.firewareNewPath = firewareNewPath;
    }

    public String getBootloaderName() {
        return bootloaderName;
    }

    public void setBootloaderName(String bootloaderName) {
        this.bootloaderName = bootloaderName;
    }

    public String getBootloaderVersion() {
        return bootloaderVersion;
    }

    public void setBootloaderVersion(String bootloaderVersion) {
        this.bootloaderVersion = bootloaderVersion;
    }

    public String getBootloaderPath() {
        return bootloaderPath;
    }

    public void setBootloaderPath(String bootloaderPath) {
        this.bootloaderPath = bootloaderPath;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String toString() {
        return "TwoToOneConfig{" +
                "taskName='" + taskName + '\'' +
                ", uploadPlatform='" + uploadPlatform + '\'' +
                ", firewareNewName='" + firewareNewName + '\'' +
                ", firewareNewVersion='" + firewareNewVersion + '\'' +
                ", firewareNewPath='" + firewareNewPath + '\'' +
                ", bootloaderName='" + bootloaderName + '\'' +
                ", bootloaderVersion='" + bootloaderVersion + '\'' +
                ", bootloaderPath='" + bootloaderPath + '\'' +
                ", deviceId='" + deviceId + '\'' +
                '}';
    }
}
